package com.sptpc.demo1.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Student {
    public Long id;
    //@DateTimeFormat(pattern = "yyyy年mm月dd日")
    public LocalDate adminssionDate;
    public String major;
    public String name;

}
